home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 January / macformat-020.iso / Shareware City / Developers / Commander Sets / 4D Speech Pack / 4D Speech Pack.rsrc / TEXT_14930_†Parameters.txt < prev    next >
Encoding:
Text File  |  1994-09-14  |  951 b   |  20 lines

  1. Parameters
  2.  
  3. The length specified with a string or text parameter is the length required. The external does not test for the correct size of the parameters. Please, declare the strings you use to the requested length.
  4. Use of any of the Speech Pack commands inside the Debugger window is not recommended. Not passing parameters is also not recommended.
  5. You should avoid returning to the Design Environment when speech is being produced.
  6.  
  7. Compiler declarations for variables used in the examples:
  8.   C_INTEGER ($err;$speechref;$present;$count;$rate;$pitch;$i)
  9.   C_INTEGER ($gender;$age;$language;$region;$script)
  10.   C_LONGINT ($modul)
  11.   C_STRING (4;$creator;$id)
  12.   C_STRING (15;$mgrvers;$packvers)
  13.   C_STRING (63;$voicename)
  14.   C_STRING (255;$line;$comment;$message;$phoneme;$path)
  15.   C_TEXT ($lines)
  16.  
  17. I used local variables in the examples but any other type is fine. In some cases like the $speechref you may want to use a interprocess variable instead.
  18.  
  19.  
  20.